Skip to content

feat(chip): add outlined version - #17485

Open
adrianptrv wants to merge 2 commits into
simeonoff/scoped-stylesfrom
apetrov/chip-outlined
Open

feat(chip): add outlined version#17485
adrianptrv wants to merge 2 commits into
simeonoff/scoped-stylesfrom
apetrov/chip-outlined

Conversation

@adrianptrv

Copy link
Copy Markdown
Contributor

Closes IgniteUI/igniteui-theming#591

Needs to be tested together with this theming PR: #592

The WC implementation: #2307

Description

Type of Change (check all that apply):

  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Tests

Component(s) / Area(s) Affected:

Chip

How Has This Been Tested?

  • Unit tests
  • Manual testing

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR contains breaking changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces an outlined styling option for the Chip component, updates chip theme styles (including dark variants), and adds a migration + changelog entry for a breaking theming property rename.

Changes:

  • Added outlined input/class support to IgxChipComponent and a unit test validating the applied host class.
  • Updated Chip theme SCSS across design systems (light + new dark overrides) to support outlined styling and renamed focus shadow theme properties.
  • Added a 22.2.0 migration (and registration) to rename chip-theme properties for the focus outline → shadow change, plus updated samples.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/app/chips/chips.sample.scss Positions outlined vs non-outlined chip samples in the demo layout.
src/app/chips/chips.sample.html Adds outlined examples for both Angular (igx-chip) and WC (igc-chip) samples.
projects/igniteui-angular/migrations/update-22_2_0/index.ts Registers the 22.2.0 migration rule execution.
projects/igniteui-angular/migrations/update-22_2_0/index.spec.ts Tests the 22.2.0 migration for chip-theme property renames.
projects/igniteui-angular/migrations/update-22_2_0/changes/theme-changes.json Declares the theme property rename mapping for the migration engine.
projects/igniteui-angular/migrations/migration-collection.json Adds migration-59 entry for the 22.2.0 update.
projects/igniteui-angular/chips/src/chips/themes/shared/_indigo.scss Updates focus shadow tokens and adds outlined styling variants for Indigo.
projects/igniteui-angular/chips/src/chips/themes/shared/_fluent.scss Adds outlined styling variants for Fluent (light).
projects/igniteui-angular/chips/src/chips/themes/shared/_bootstrap.scss Updates focus shadow tokens and adds outlined styling variants for Bootstrap (light).
projects/igniteui-angular/chips/src/chips/themes/dark/_material.scss Adds Material dark outlined variant overrides.
projects/igniteui-angular/chips/src/chips/themes/dark/_indigo.scss Adds Indigo dark outlined variants and adjusts disabled handling.
projects/igniteui-angular/chips/src/chips/themes/dark/_index.scss Includes the new dark theme partials for chip (material/bootstrap/fluent).
projects/igniteui-angular/chips/src/chips/themes/dark/_fluent.scss Adds Fluent dark outlined variant overrides.
projects/igniteui-angular/chips/src/chips/themes/dark/_bootstrap.scss Adds Bootstrap dark outlined variant overrides.
projects/igniteui-angular/chips/src/chips/themes/_base.scss Refactors base chip styling to support outlined mode and adjusts borders/disabled states.
projects/igniteui-angular/chips/src/chips/chip.spec.ts Adds a unit test asserting the outlined host class is applied.
projects/igniteui-angular/chips/src/chips/chip.component.ts Adds outlined input with boolean transform and host class binding.
CHANGELOG.md Adds 22.2.0 entries for outlined chip and theming breaking change.

Comment thread projects/igniteui-angular/migrations/update-22_2_0/index.spec.ts Outdated
Comment thread CHANGELOG.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants